package sspersonserver.subjects;

/**
 * Created by IntelliJ IDEA.
 * User: Double
 * Date: 31.01.12
 * Time: 14:49
 * To change this template use File | Settings | File Templates.
 */
public class Phone
{
	private int id;
	private PhoneType type;
	private String num;
	transient private int ownerId;

	public Phone(int id, String num, PhoneType type)
	{
		this.id = id;
		this.type = type;
		this.num = num;
	}

	public int getOwnerId()
	{
		return ownerId;
	}

	public void setOwnerId(int ownerId)
	{
		this.ownerId = ownerId;
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public PhoneType getType()
	{
		return type;
	}

	public void setType(PhoneType type)
	{
		this.type = type;
	}

	public String getNum()
	{

		return num;
	}

	public void setNum(String num)
	{
		this.num = num;
	}
}
